#include <iostream>
#include <cstdlib>
using namespace std;
int main(void)
{
	double amd1[900];
	double* amd1ptr = amd1;
	double a1 = 0;

	freopen( "Output.txt", "w", stdout );

	while(a1 < 901)
	{
		cout<<"Array Memory Location: "<<amd1ptr<<" Array "<<a1<<endl;
	amd1ptr++;
	a1++;
	}
	freopen( "CON", "w", stdout );
	cout<<"Done, Check Output.txt"<<endl;
	cout<<"Memory in Use: "<<sizeof(amd1)<<" Bytes "<<endl;

	system("pause");
	
}